package com.spzx.product.vo;

import com.alibaba.fastjson2.JSONArray;
import com.spzx.product.domain.ProductSku;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

/**
 * @Author 快点干早点散
 * @Create 2025/5/6 20:09
 * Description:
 */
@Data
@Schema(description = "商品详情")
public class ItemVo {
    @Schema(description = "商品sku信息")
    private ProductSku productSku;
    @Schema(description = "商品价格信息")
    private SkuPriceVo skuPrice;
    @Schema(description = "商品库存")
    private SkuStockVo skuStock;
    @Schema(description = "商品轮播图列表")
    private String[] sliderUrlList;
    @Schema(description = "商品详情图片")
    private String[] detailsImageUrlList;
    @Schema(description = "商品规格信息")
    private JSONArray specValueList;
    @Schema(description = "商品规格对应商品skuid信息")
    private Map<String, Long> skuSpecValueMap;
}
